package com.pingan.pastry.entity;

import java.lang.reflect.Method;

public class Menu {
    private String id;
    private String parentId;
    private String name;
    private char displayFlag;
    private String viewUrl;
    private String permissionCode;
    private int level;

    public Menu() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public char getDisplayFlag() {
        return displayFlag;
    }

    public void setDisplayFlag(char displayFlag) {
        this.displayFlag = displayFlag;
    }

    public String getViewUrl() {
        return viewUrl;
    }

    public void setViewUrl(String viewUrl) {
        this.viewUrl = viewUrl;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id='" + id + '\'' +
                ", parentId='" + parentId + '\'' +
                ", name='" + name + '\'' +
                ", displayFlag=" + displayFlag +
                ", viewUrl='" + viewUrl + '\'' +
                ", permissionCode='" + permissionCode + '\'' +
                ", level=" + level +
                '}';
    }

}
